<?php

use think\facade\Route;

/** 后台订单管理接口 */
Route::group('admin', function () {
    Route::group('order', function () {
        Route::get('list', 'list');
        Route::get('<order_no>/detail', 'detail')->pattern(['order_no' => '[PD\d]+']);
        Route::post('<order_sub_no>/express', 'express')->pattern(['order_sub_no' => '[PI\d]+']);
        Route::post('export', 'export');
    })->prefix('\app\mall\service\order\admin\Order@')->middleware(['adminRoute']);
});
